package com.xxx.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author xxx
 * @since 2024-11-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
@TableName("`order`")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "orderId", type = IdType.AUTO)
    private Integer orderId;

    private Integer userId;

    private LocalDateTime createTime;

    /**
     * 费用总额
     */
    private Double totalAmount;

    /**
     * 物业费，水电费，……
     */
    private String orderDetail;

    /**
     * 对订单进行评价
     */
    private String orderEvaluation;

    /**
     * 0-未删除 1-已删除
     */
    @TableLogic
    private Integer isDeleted;


}
